package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class CityConfigTravelCommand {

    @NotNull(message = "城市的id必填")
    private Long id;

    @NotNull(message = "城市的起步里程必填")
    private Integer distance;

    @NotNull(message = "城市的起步价必填")
    private Integer price;

    @NotNull(message = "城市的每公里加价必填")
    private Integer incrementPrice;

}
